//
//  twoCheckView.m
//  随便点
//
//  Created by ZC on 15/4/1.
//  Copyright (c) 2015年 qfsoft. All rights reserved.
//

#import "twoCheckView.h"
//#import "DropDown.h"

@implementation twoCheckView


//   纯代码创建label
-(void)SetupName:(NSString *)name Price:(NSString *)price Number:(NSString *)number SetY:(int)sety{
    
    //服务内容
    UILabel *Name = [[UILabel alloc]initWithFrame:CGRectMake(20, sety, 100, 21)];
    Name.text = name;
    Name.font = [UIFont systemFontOfSize:13];
    
    //价格 和 数量
    UILabel *Price = [[UILabel alloc]initWithFrame:CGRectMake(195, sety, 100, 21)];
    Price.text = [NSString stringWithFormat:@"￥%@  *  %@",price,number];
    Price.font = [UIFont systemFontOfSize:13];
    
    //将“服务内容”“价格”“数量”控件添加到view上
    [self.FirstView addSubview:Name];
    [self.FirstView addSubview:Price];
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
